import axios from "@/utils/my_axios"

const reportApi = {
    selectReport: "/boss/essay/selectById",
    reportList: "/boss/essay/listByPage",
    deleteReport: "/boss/essay/deleteById",
    updateStatus: "/boss/essay/updateStatus",
};

export function getreportList(parameter){
    return axios({
        url: reportApi.reportList,
        method: "get",
        params: parameter,
    });
}

export function selectReport(parameter){
    return axios({
        url: reportApi.selectReport,
        method: "get",
        params: parameter,
    });
}
export function deleteReport(parameter){
    return axios({
        url: reportApi.deleteReport,
        method: "get",
        params: parameter,
    });
}
export function updateStatus(parameter){
    return axios({
        url: reportApi.updateStatus,
        method: "get",
        params: parameter,
    });
}
